package com.zt.yongxinbao.mapper;

import com.zt.yongxinbao.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@Mapper
public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);
    List<Goods> selectAll();
    List<Goods> selectByTag(String tag);
    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
}